#!/bin/bash
. setup.sh
 
make -C /home/ds/phoneme_feature/cldc/build/linux_arm \
GNU_TOOLS_DIR=$GNU_TOOLS_DIR \
JDK_DIR=$JDK_DIR \
ENABLE_PCSL=true \
PCSL_OUTPUT_DIR=$Output/pcsl \
JVMWorkSpace=/home/ds/phoneme_feature/cldc \
JVMBuildSpace=$Output/cldc \
TOOLS_DIR=/home/ds/phoneme_feature/tools \
TOOLS_OUTPUT_DIR=$Output/tools \
ENABLE_COMPILATION_WARNINGS=true \
VERBOSE_BUILD=true \
USE_DEBUG_ROMGEN=true \
USE_DEBUG_ROMGEN_SYMBOLS=true \
$1
 
if [ $? -ne 0 ]; then
  echo "cldc_status=failed"
else
  echo "cldc_status=OK"
fi
